
import { ORDER_STATUS, PAY_TYPE_ARRAY, PLATEFORM_ORDER_TYPE_ARRAY, SOURCE_TYPE_OPTIONS } from "../contanst/data";
import { FormatCreateTime } from "./time";

export default {
  formatCreateTime: FormatCreateTime,
  formatPayType(value) {
   return PAY_TYPE_ARRAY[Number(value)];
  },
  formatSourceType(value) {
    
    console.log("formatSourceType", value);
    return PLATEFORM_ORDER_TYPE_ARRAY[value];

  },
  formatStatus(value) {
    return ORDER_STATUS[value + 1];
  }
}